package com.diver.flinkdemo.dto.xxt;



import com.diver.flinkdemo.utils.excel.ExcelAnnotation;

import java.io.Serializable;

/**
 * 跟班狗 导出用
 * @author yangs
 */
public class ManageRecordInfoDto2 implements Serializable {
    // 序列化版本
    private static final long serialVersionUID = -7059103537844076544L;

    //学生名字
    @ExcelAnnotation(exportTitleName = "姓名")
    private String name;

    // 学校名称
    @ExcelAnnotation(exportTitleName = "发放单位")
    private String schoolName;
    //时间
    @ExcelAnnotation(exportTitleName = "时间")
    private String timeStamp;
    //经度
    private String lon;
    //纬度
    private String lat;
    //地址
    @ExcelAnnotation(exportTitleName = "地址")
    private String address;

    //标签
    @ExcelAnnotation(exportTitleName = "状态")
    private String tips;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }


    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(String timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        if ("deviationTrajectory".equals(tips)) {
            this.tips = "轨迹偏离";
        } else if ("longStay".equals(tips)) {
            this.tips = "长时间停留";
        } else {
            this.tips = tips;

        }
    }
}
